package com.mygdx.game.resource;


import com.badlogic.gdx.graphics.Color;

/**
 * 一些常量和资源
 */
public interface Res {

    //世界的宽
    float FIX_WORLD_WIDTH = 480;

    String ATLAS_PATH = "atlas/game.atlas";
    String BITMAP_FONT_PATH = "font/bitmap_font.fnt";
    //String WELCOME_PATH = "bg.jpeg";
    String BEST_SCORE_PATH = "best_score";
    String BEST_SCORE_KEY = "best_score";

    Color BG_RGBA = new Color(0xEEE7D4FF);

    interface Audio {
        String MOVE = "audio/move.mp3";
        String MERGE = "audio/merge.mp3";
    }

    /**
     * 纹理图集的小图名称常量
     */
    interface Atlas {
        String GAME_BLANK = "game_blank";
        String GAME_BTN_EXIT = "game_btn_exit";
        String GAME_BTN_HELP = "game_btn_help";
        String GAME_HELP_BG = "game_help_bg";
        String GAME_LOGO = "game_logo";
        String GAME_RECT_BG = "game_rect_bg";
        String GAME_ROUND_RECT = "game_round_rect";
        String GAME_SCORE_BG_BEST = "game_score_bg_best";
        String GAME_SCORE_BG_NOW = "game_score_bg_now";
        String DIALOG_BTN_OK = "dialog_btn_ok";
        String DIALOG_BTN_cancel = "dialog_btn_cancel";
        String BTN_BACK = "btn_back";
        String BTN_AGAIN = "btn_again";
    }

    /**
     * 不同数字的卡片背景颜色
     */
    interface CardColors {
        Color RGBA_0 = new Color(0xCCC0B3FF);
        Color RGBA_2 = new Color(0xEEE4DAFF);
        Color RGBA_4 = new Color(0xEDE0C8FF);
        Color RGBA_8 = new Color(0xF2B179FF);
        Color RGBA_16 = new Color(0xF49563FF);
        Color RGBA_32 = new Color(0xF5794DFF);
        Color RGBA_64 = new Color(0xF55D37FF);
        Color RGBA_128 = new Color(0xEEE863FF);
        Color RGBA_256 = new Color(0xEDB04DFF);
        Color RGBA_512 = new Color(0xECB04DFF);
        Color RGBA_1024 = new Color(0xEB9437FF);
        Color RGBA_2048 = new Color(0xEA7821FF);
    }

}
